package com.zhu.rtda.heap.constant;
// DoubleConstant.java
public class DoubleConstant implements Constant {
    private final double value;

    public DoubleConstant(double value) {
        this.value = value;
    }

    public double getValue() {
        return value;
    }

    @Override
    public String toString() {
        return Double.toString(value);
    }
}
